* net/dbus.el (top): Don't check for (getenv
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 20 Aug 2009 15:24:44 +0000 (15:24 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 20 Aug 2009 15:24:44 +0000 (15:24 +0000)
"DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.

lisp/net/dbus.el

index 273d531ed3525256245e30993ce613a3d158a93f..aeff93f6d26dcb528576a464bdb6c6c33a3e94e3 100644 (file)
@@ -836,9 +836,8 @@ name of the property, and its value.  If there are no properties,
 ;; descriptors to input_wait_mask, in order to detect incoming
 ;; messages immediately.
 (dbus-ignore-errors
-  (when (getenv "DBUS_SESSION_BUS_ADDRESS")
-    (dbus-init-bus :system)
-    (dbus-init-bus :session)))
+ (dbus-init-bus :system)
+ (dbus-init-bus :session))
 
 (provide 'dbus)